package com.yimi.policyservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "user", url = "${rsyLogin.url}")
public interface UserClient {

    @RequestMapping(value = "/admin/user/list", method = RequestMethod.GET)
    String list(@RequestHeader("Token") String token, @RequestParam(value = "page") Integer page, @RequestParam(value = "page_number") Integer pageNumber);


}
